package com.lhoverc.pojo.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: LiCheng
 * @CreateTime: 2025-04-21
 * @Description:
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActivityVO {
    //活动id
    private Integer id;
    //创建者名称
    private Integer creatorName;
    //活动名
    private String activityName;
    //活动描述
    private String description;
    //活动图片
    private String imageUrl;
    //活动地点
    private String location;

    //最大参与人数
    private Integer maxParticipants;
    //当前参与人数
    private Integer currentParticipants;
    //状态
    private Integer status;

    //开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime activityStart;
    //结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime activityDeadline;
    //报名开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime registrationStart;
    //报名截止时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime registrationDeadline;
}
